﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataAlma" targetNamespace="http://tempuri.org/DataAlma.xsd" xmlns:mstns="http://tempuri.org/DataAlma.xsd" xmlns="http://tempuri.org/DataAlma.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="VENSOFTConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="VENSOFTConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.vensoft.Win32.Properties.Settings.GlobalReference.Default.VENSOFTConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GetFromCategoriaByUbicTableAdapter" GeneratorDataComponentClassName="GetFromCategoriaByUbicTableAdapter" Name="GetFromCategoriaByUbic" UserDataComponentName="GetFromCategoriaByUbicTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="VENSOFTConnectionString (Settings)" DbObjectName="VENSOFT.dbo.GetFromCategoriaByUbic" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetFromCategoriaByUbic</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Ubicacion" Precision="0" ProviderType="VarChar" Scale="0" Size="15" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_Almacen" DataSetColumn="ID_Almacen" />
              <Mapping SourceColumn="Ubicacion" DataSetColumn="Ubicacion" />
              <Mapping SourceColumn="Descripcion" DataSetColumn="Descripcion" />
              <Mapping SourceColumn="Estado" DataSetColumn="Estado" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataAlma" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataAlma" msprop:Generator_UserDSName="DataAlma">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="GetFromCategoriaByUbic" msprop:Generator_TableClassName="GetFromCategoriaByUbicDataTable" msprop:Generator_TableVarName="tableGetFromCategoriaByUbic" msprop:Generator_TablePropName="GetFromCategoriaByUbic" msprop:Generator_RowDeletingName="GetFromCategoriaByUbicRowDeleting" msprop:Generator_UserTableName="GetFromCategoriaByUbic" msprop:Generator_RowChangingName="GetFromCategoriaByUbicRowChanging" msprop:Generator_RowEvHandlerName="GetFromCategoriaByUbicRowChangeEventHandler" msprop:Generator_RowDeletedName="GetFromCategoriaByUbicRowDeleted" msprop:Generator_RowEvArgName="GetFromCategoriaByUbicRowChangeEvent" msprop:Generator_RowChangedName="GetFromCategoriaByUbicRowChanged" msprop:Generator_RowClassName="GetFromCategoriaByUbicRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_Almacen" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnID_Almacen" msprop:Generator_ColumnPropNameInRow="ID_Almacen" msprop:Generator_ColumnPropNameInTable="ID_AlmacenColumn" msprop:Generator_UserColumnName="ID_Almacen" type="xs:int" />
              <xs:element name="Ubicacion" msprop:Generator_ColumnVarNameInTable="columnUbicacion" msprop:Generator_ColumnPropNameInRow="Ubicacion" msprop:Generator_ColumnPropNameInTable="UbicacionColumn" msprop:Generator_UserColumnName="Ubicacion">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Descripcion" msprop:Generator_ColumnVarNameInTable="columnDescripcion" msprop:Generator_ColumnPropNameInRow="Descripcion" msprop:Generator_ColumnPropNameInTable="DescripcionColumn" msprop:Generator_UserColumnName="Descripcion">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Estado" msprop:Generator_ColumnVarNameInTable="columnEstado" msprop:Generator_ColumnPropNameInRow="Estado" msprop:Generator_ColumnPropNameInTable="EstadoColumn" msprop:Generator_UserColumnName="Estado">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GetFromCategoriaByUbic" />
      <xs:field xpath="mstns:ID_Almacen" />
    </xs:unique>
  </xs:element>
</xs:schema>